home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / web2c.next.help < prev    next >
Internet Message Format  |  1994-12-09  |  18KB

  1. From: swift@acs.bu.edu (Matthew Swift)
  2. Date: Fri, 09 Dec 94 10:30:22 -0500
  3. Subject: help and patch for NeXT computers <- I mean NeXTStep
  4.  
  5.  
  6. I changed one phrase here at the end of the first line from what's on
  7. CTAN:  "a NeXT" to "NeXTStep" -- I keep equating them when I don't mean to.
  8.  
  9. I also could skip a step by using "tail" to skip the first part of this file
  10. for the patch program (it was too long).  I just thought of that solution. 
  11.  
  12. ---------------snip
  13. This file explains how to compile Karl Berry's web2c TeX sources on NeXTStep.
  14.  
  15. It contains a patch for the NeXT texview program and Make_Fonts script.
  16.  
  17. This has been tested on a NeXT Cube with NS 3.0 and gcc 2.5.4, bison 1.22, and
  18. flex 2.4.6.  
  19.  
  20. * FILES YOU NEED TO START 
  21.  
  22. ++ $GNU is a GNU site or a mirror.  Please use the one closest to you.  A long
  23.    list of partial and full mirrors is given in your GNU Emacs /etc/FTP file.
  24.    The US sites from that file, dated 21 Apr 93 (old, I know), are given below,
  25.    with some ones I know are good near the top.
  26.  
  27.     ASIA: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  28.   cair.kaist.ac.kr:/pub/gnu, ftp.nectec.or.th:/pub/mirrors/gnu
  29.     AUSTRALIA: archie.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  30.     AFRICA: ftp.sun.ac.za:/pub/gnu
  31.     MIDDLE-EAST: ftp.technion.ac.il:/pub/unsupported/gnu
  32.     EUROPE: irisa.irisa.fr:/pub/gnu, ftp.univ-lyon1.fr:pub/gnu,
  33.   ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  34.   src.doc.ic.ac.uk:/gnu, ftp.ieunet.ie:pub/gnu, ftp.eunet.ch,
  35.   nic.switch.ch:/mirror/gnu, ftp.informatik.rwth-aachen.de:/pub/gnu,
  36.   ftp.informatik.tu-muenchen.de, ftp.win.tue.nl:/pub/gnu,
  37.   ftp.funet.fi:/pub/gnu, ftp.denet.dk, ftp.stacken.kth.se, isy.liu.se,
  38.   ftp.luth.se:/pub/unix/gnu, ftp.sunet.se:/pub/gnu, archive.eu.net
  39.     SOUTH AMERICA: ftp.unicamp.br:/pub/gnu
  40.     WESTERN CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  41.     USA: wuarchive.wustl.edu:/systems/gnu, labrea.stanford.edu,
  42.   ftp.digex.net:/pub/gnu, ftp.kpc.com:/pub/mirror/gnu, f.ms.uky.edu:/pub3/gnu,
  43.   jaguar.utah.edu:/gnustuff, ftp.hawaii.edu:/mirrors/gnu,
  44.   vixen.cso.uiuc.edu:/gnu, mrcnext.cso.uiuc.edu:/pub/gnu,
  45.   ftp.cs.columbia.edu:/archives/gnu/prep, col.hp.com:/mirrors/gnu,
  46.  
  47. ++ $CTAN is a CTAN site or a mirror.  See ftp.shsu.edu:pub/tex/README.mirrors
  48.    for a full list. 
  49.  
  50. ++ For more information in general on how to ftp Unix TeX sources, see:
  51.       $CTAN:pub/tex/systems/web2c/unixtex.ftp
  52.  
  53. ++ vvv below means a version number like 6.1 or 1.2.4.
  54.  
  55. - The gzip program.  The source is here:
  56.     $GNU:gzip-vvv.tar
  57.  
  58. - The TeX sources from CTAN:
  59.  
  60.     $CTAN:pub/tex/dviware/dvipsk/dvipsk.tar.gz
  61.     $CTAN:pub/tex/systems/web2c/web2c.tar.gz
  62.     $CTAN:pub/tex/systems/web2c/web.tar.gz
  63.     $CTAN:pub/tex/systems/web2c/lib.tar.gz
  64.  
  65. At the time of writing, the latest version of web2c is 6.1.  If that is still
  66. the case, you will also need the following two patch files:
  67.  
  68.     $CTAN:pub/tex/systems/web2c/web2c.alloca.help
  69.     $CTAN:pub/tex/systems/web2c/web2c.kpathsea-2.4.help
  70.  
  71. You do not actually need to get lib.tar.gz.  It contains the standard
  72. TeX-related font descriptions which are already in the NeXTTeX.pkg.  If you
  73. skip it, you will have put your existing NeXT files in the right places in the
  74. hierarchy manually.  I recommend avoiding that trouble and I even think it is
  75. easier just to rebuild all the fonts rather than trying to sort out the screen
  76. ones from the printer ones.
  77.  
  78. - The texview sources are in NeXTTeX.pkg.  You can install it from the NeXTStep
  79.   CD.  It might be available from NeXT (ftp.next.com).  I think this is also
  80.   the same thing: 
  81.  
  82.     $CTAN:pub/tex/systems/unix/next/nexttex.tar.gz
  83.  
  84. - The patch program.  The source is here: 
  85.     $GNU/patch-2.1.tar.gz
  86.  
  87. - You may need to get bison, flex, gcc, or all of the above. I haven't tested
  88.   without them.  Their sources are here:
  89.     $GNU/bison-vvv.tar.gz
  90.     $GNU/flex-vvv.tar.gz
  91.     $GNU/gcc-vvv.tar.gz
  92.   
  93.  
  94. * GENERAL INFO 
  95.  
  96. The following will install TeX and friends into the default directory
  97. hierarchy.  For further customizing, see kpathsea.info.  
  98.  
  99. The NeXTTeX.pkg source patch simply changes path names in the texview program
  100. and in the Make_Fonts script.  Also, they are changed slightly to send the
  101. right information to the new MakeTeXPK script.
  102.  
  103. * IMPORTANT DETAILS
  104.  
  105. Scan these briefly before proceeding to the STEP BY STEP section. 
  106.  
  107. ** Metafont modes:
  108.  
  109. dvipsk-5.58c's behavior with the -D commandline option requires that you
  110. create $TEXMF/dvips/config.$printer, where $printer is your printer's name,
  111. with the single line
  112.     M mode
  113. where mode is the right metafont mode for your printer, or printing from
  114. texview will not work right.  The right metafont mode for the NeXT printer is
  115. "nexthi".  
  116.  
  117. ** Expansion in texmf.cnf:
  118.  
  119. In web2c-6.1 there is a bug that causes ~ to sometimes not get expanded
  120. properly.  Use $HOME instead.
  121.  
  122. ** texview functionality:
  123.  
  124. I have patched texview, but not come close to making it into a tool with the
  125. versatility of the kpathsea library.  In particular, texview was designed
  126. around a pathlist of PKFONTS, set in paths.h.  I have set the path for pk fonts
  127. to be:
  128.  
  129.   .:/usr/local/lib/texmf/fonts/public/cm/pk/nextscreen:/usr/local/lib/texmf/fonts/tmp/pk/nextscreen
  130.  
  131. which should cover the standard places for the standard TeX CM fonts.  When
  132. texview calls MakeTeXPK to build a font, the font will be built in the
  133. MakeTeXPK default, i.e. $TEXMF/fonts/tmp/pk/$mode.  When Make_Fonts builds
  134. fonts, however, we know that they are going to be CM fonts, so we place them
  135. directly in /usr/local/lib/texmf/fonts/public/cm/pk/$mode.    These paths are
  136. _not_ going to change with texmf.cnf or $TEXMF, they are hard-wired. 
  137.  
  138. There are a handful of environment variables that will affect the texview
  139. paths; I have neither coordinated nor decoordinated them with those of the
  140. kpathsea libraries.  In fact, I have done nothing about them.  Where
  141. the environment variables are used by both programs, they may need to be in
  142. differnt forms.  Use environment variables at your own risk! 
  143.  
  144. In the original texview, the 300 and 400 magnifications were handled as special
  145. cases that tried to use 300 and 400 dpi fonts that could also be used for the
  146. printer.  I have removed them because I could not get them to work, nor could I
  147. get any other new magnifications to work.  The code for doing all this is not
  148. simple, and I don't have time right now to track it down.  If someone figures
  149. how to recover some higher magnifications, please let me know, and one of us
  150. can post a new patch.
  151.  
  152.  
  153. * STEP BY STEP
  154.  
  155. 1) Have the right permissions to install software.
  156.  
  157. 2) Check your environment variables to make sure nothing is set that will
  158.    affect the build, that you don't know about.  DEFS, CC, CFLAGS, and
  159.    anything to do with TeX and friends could all possibly mess things up.
  160.  
  161. 3) Unpack lib.tar.gz while in /usr/local/lib.  Unpack web2c-vvv.tar.gz,
  162.    web-vvv.tar.gz, and dvipsk-vvv.tar.gz in your favorite source directory;
  163.    let's call it $src.  You will end up with a lot of files in
  164.    /usr/local/lib/texmf, and in $src/web2c-vvv.
  165.   
  166. 4) If the web2c version is greater than 6.1, skip to step 7.  Otherwise,
  167.    execute these commands, which transfer the TeX sources into the environment
  168.    with the new kpathsea library:
  169.  
  170.       mv web2c-6.1/web2c dvipsk-5.58c && rm -rf web2c-6.1 \
  171.       && mv dvipsk-5.58c web2c-6.1 && cd web2c-6.1a
  172.  
  173. 5) Assuming the patch files are in $dir, 
  174.       
  175.       mv $dir/web2c.kpathsea-2.4.help .
  176.       mv $dir/web2c.alloca.help .
  177.  
  178. 6) Patch with the patches:
  179.  
  180.       patch -p < web2c.kpathsea-2.4.help
  181.       patch -p < web2c.alloca.help
  182.  
  183. % check what dir the the alloca patch should be in.
  184.  
  185.    There should be output but no errors. 
  186.  
  187. 7) If the web2c version is 6.1, skip to step 8.  Otherwise, do
  188.  
  189.       mv dvips-vvv/dvipsk web2c-vvv && rm -rf dvips-vvv
  190.  
  191. 8) If you want to make any changes in the default installation, now is the
  192.    time.  See the suggested ones below.  Notice the deafult installation
  193.    assumes that the latex.fmt is LaTeX2e.  Then do:
  194.   
  195.       configure      
  196.  
  197. 9) Make sure TeX will find the standard library files.  If you are using
  198.    lib.tar.gz, you don't need to do anything. If you are using the old
  199.    distributions, you will have to set TEXINPUTS and/or MFINPUTS.  See
  200.    kpathsea.info.
  201.  
  202. 10) Follow the normal installation procedure described in the INSTALL files.
  203.     Remember to build the database with:
  204.  
  205.       ls -R /usr/local/lib/texmf > /usr/local/lib/texmf/ls-R   
  206.  
  207. 11) Now we build a new texview and a new Make_Fonts script.  Assuming your
  208.     NeXTTeX sources are in the standard place:
  209.  
  210.       cd /NextLibrary/TeX/tex/src/texview
  211.  
  212. 12) Apply the patch.  First, we move Make_Fonts into this directory so that we
  213.     can patch it in one step.  Then, assuming the patch is called $patch,
  214.  
  215.       cp -i /usr/bin/Make_Fonts . && tail -235 $patch | patch
  216.  
  217.     You should get output but no errors.
  218.       
  219.     If you are installing with a nonstandard TeX hierarchy, you may wish to
  220.     edit some of the files now.  See the IMPORTANT DETAILS section above. 
  221.     Examining the patch file itself is a good way to see where you might want
  222.     to make a change. 
  223.  
  224. 13) Move the new script to the new location:
  225.  
  226.       mv -i Make_Fonts /usr/local/bin
  227.  
  228. 14) Now rebuild:
  229.  
  230.       /bin/make install && /bin/make clean
  231.  
  232.     You have to use NeXT's original make.  GNU's won't work. 
  233.  
  234. 15) I recommend deinstalling the entire NeXTTeX.pkg now, with the Installer
  235.     program.  This is safe since the new version is in /LocalApps. 
  236.  
  237. * SUGGESTED CUSTOMIZATIONS
  238.  
  239. Here are the changes I choose to make.
  240.  
  241. I optimized with "make CFLAGS=-O2".  You can also change CFLAGS in the
  242. top-level Makefile.  (This is unnecessary when building texview.)
  243.  
  244. I made the following change to web2c-6.1/web2c/lib/c-auto.h.in:
  245.  
  246. - I set a #define so that Metafont's window output would use a NeXT window; 
  247.   you can also use X if you have a developer distribution.
  248.  
  249. I made the following two changes to texmf.cnf.in: 
  250.  
  251. - I altered the standard search path to include ~/Library/TeX/tex
  252.   after the current directory and before the standard ones. 
  253.  
  254. - I altered the BibTeX search paths to include ~/Library/TeX/bibtex/bib
  255.   for bibliographies, and ~/Library/TeX/bibtex/bst for bibliography 
  256.   styles.
  257.  
  258. The last two changes show up in texmf.cnf, which you can edit in the sources,
  259. or where it gets installed in $TEXMF/texmf.cnf
  260.  
  261. * DISCLAIMER AND SIGNATURE
  262.  
  263.          This patch is distributed in the hope that it will be useful,
  264.         but WITHOUT ANY WARRANTY; without even the implied warranty of
  265.              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  266.  
  267.                                   Matt Swift
  268.                                 <swift@bu.edu>
  269.                                 8 December 1994
  270.  
  271.  
  272.                     Member, League for Programming Freedom
  273.                     Protect your freedom to write programs:
  274.               write league@prep.ai.mit.edu for more information.
  275.  
  276.  
  277. * THE PATCH
  278.  
  279. -------snip-snip-snip---------------------------------------
  280.  
  281.  
  282. diff -c -r -P texview.orig/Make_Fonts texview/Make_Fonts
  283. *** texview.orig/Make_Fonts    Thu Dec  8 17:55:22 1994
  284. --- texview/Make_Fonts    Thu Dec  8 18:43:07 1994
  285. ***************
  286. *** 136,151 ****
  287.      echo " "
  288.      exit
  289.   fi
  290. - (cd /LocalLibrary/Fonts/TeXFonts/pk; cp * /usr/lib/tex/fonts/pk; rm *)
  291. - echo "If there were errors above, ignore them."
  292.   echo "Be prepared to wait a while, now!"
  293.   ( while read dpi mag
  294.     do
  295.       for name in \`cat \$names\`
  296.       do
  297. !        MakeTeXPK \$name \$dpi \$bdpi \$mag
  298.       done
  299. -     (cd /LocalLibrary/Fonts/TeXFonts/pk; cp * /usr/lib/tex/fonts/pk; rm *)
  300.    done ) <\$pairs
  301.   EOF
  302.   chmod +x temp-aux
  303. --- 136,148 ----
  304.      echo " "
  305.      exit
  306.   fi
  307.   echo "Be prepared to wait a while, now!"
  308.   ( while read dpi mag
  309.     do
  310.       for name in \`cat \$names\`
  311.       do
  312. !        MakeTeXPK \$name \$dpi \$bdpi \$mag \$mode /usr/local/lib/texmf/fonts/public/cm/pk/\$mode
  313.       done
  314.    done ) <\$pairs
  315.   EOF
  316.   chmod +x temp-aux
  317. diff -c -r -P texview.orig/TeXviewObject.m texview/TeXviewObject.m
  318. *** texview.orig/TeXviewObject.m    Thu Dec  8 20:53:36 1994
  319. --- texview/TeXviewObject.m    Thu Dec  8 21:35:13 1994
  320. ***************
  321. *** 111,118 ****
  322.       [popup changeButtonTitle:YES] ; /* we'll do it ourselves */
  323.       for (i=1; i<13; i++)
  324.          [popuplist addItem:dpistring(existsize100[i])] ;
  325. -     [popuplist addItem:dpistring(300)] ;
  326. -     [popuplist addItem:dpistring(400)] ;
  327.       NXAttachPopUpList(anObject, popuplist) ;
  328.       [popup setAction:@selector(cdpi:)] ;
  329.       [popup setTarget:myTeXviewObject] ;
  330. --- 111,116 ----
  331. diff -c -r -P texview.orig/dviAccessors.c texview/dviAccessors.c
  332. *** texview.orig/dviAccessors.c    Thu Dec  8 20:53:37 1994
  333. --- texview/dviAccessors.c    Thu Dec  8 21:34:37 1994
  334. ***************
  335. *** 16,22 ****
  336.   extern void reportname() ;
  337.   extern Boolean zoomed, mocked ;
  338.   extern real screendpi, userdpi[], possibmag[] ;
  339. ! extern int *existsize, existsize100[], existsize300[], existsize400[] ;
  340.   extern int actualdpi ;
  341.   extern FILE *dvifile ;
  342.   extern Boolean pagedrawn ;
  343. --- 16,22 ----
  344.   extern void reportname() ;
  345.   extern Boolean zoomed, mocked ;
  346.   extern real screendpi, userdpi[], possibmag[] ;
  347. ! extern int *existsize, existsize100[] ;
  348.   extern int actualdpi ;
  349.   extern FILE *dvifile ;
  350.   extern Boolean pagedrawn ;
  351. ***************
  352. *** 298,318 ****
  353.   {
  354.      int dpi ;
  355.      real ndpi ;
  356.   
  357.      dpi = atol(s) ;
  358. !    if (dpi == 300 || dpi == 400) {
  359. !       existsize = ((dpi == 300) ? existsize300 : existsize400) ;
  360. !       actualdpi = dpi ;
  361. !       ndpi = dpi ;
  362. !    } else {
  363. !       int i ;
  364. !       existsize = existsize100 ;
  365. !       actualdpi = 100 ;
  366. !       for (i=1; i<20; i++)
  367. !          if (dpi==existsize[i])
  368. !             break ;
  369. !       ndpi = possibmag[i + 16] ;
  370. !    }
  371.      if (screendpi != ndpi) {
  372.         userdpi[zoomed] = ndpi ;
  373.         screendpi = ndpi ;
  374. --- 298,312 ----
  375.   {
  376.      int dpi ;
  377.      real ndpi ;
  378. +    int i ;
  379.   
  380.      dpi = atol(s) ;
  381. !    existsize = existsize100 ;
  382. !    actualdpi = 100 ;
  383. !    for (i=1; i<20; i++)
  384. !       if (dpi==existsize[i])
  385. !          break ;
  386. !    ndpi = possibmag[i + 16] ;
  387.      if (screendpi != ndpi) {
  388.         userdpi[zoomed] = ndpi ;
  389.         screendpi = ndpi ;
  390. diff -c -r -P texview.orig/makefont.c texview/makefont.c
  391. *** texview.orig/makefont.c    Thu Dec  8 20:53:38 1994
  392. --- texview/makefont.c    Thu Dec  8 20:52:12 1994
  393. ***************
  394. *** 63,69 ****
  395.         if ((command=getenv("MAKETEXPK")))
  396.            command = newstring(command) ;
  397.         else
  398. !          command = "MakeTeXPK %n %d %b %m" ;
  399.      }
  400.      for (p=command, q=buf; *p; p++)
  401.         if (*p != '%')
  402. --- 63,69 ----
  403.         if ((command=getenv("MAKETEXPK")))
  404.            command = newstring(command) ;
  405.         else
  406. !          command = "MakeTeXPK %n %d %b %m nextscreen" ;
  407.      }
  408.      for (p=command, q=buf; *p; p++)
  409.         if (*p != '%')
  410. diff -c -r -P texview.orig/paths.h texview/paths.h
  411. *** texview.orig/paths.h    Thu Dec  8 20:53:38 1994
  412. --- texview/paths.h    Thu Dec  8 20:52:13 1994
  413. ***************
  414. *** 3,18 ****
  415.    *   All Rights Reserved.
  416.    */
  417.   /*
  418. !  *   This is the paths file for dviamiga.
  419.    */
  420.   /*
  421.    *   PKPATH is where to search for packed files, directories separated by
  422.    *   commas.  A period means the current directory (don't prepend anything.)
  423.    *   TFMPATH is the same for TFM files.
  424.    */
  425. ! #define    TFMPATH     ".:/LocalLibrary/Fonts/TeXFonts/tfm:/usr/lib/tex/fonts/tfm"
  426. ! #define PKPATH      ".:/LocalLibrary/Fonts/TeXFonts/pk:/usr/lib/tex/fonts/pk"
  427. ! #define VFPATH      ".:/LocalLibrary/Fonts/TeXFonts/vf:/usr/lib/tex/fonts/vf"
  428.   #define RESFONTSFILE "psfonts.map"
  429. ! #define CONFIGPATH ".:/usr/lib/tex/ps"
  430. ! #define INPUTSPATH   ".:/usr/lib/tex/inputs"
  431. --- 3,20 ----
  432.    *   All Rights Reserved.
  433.    */
  434.   /*
  435. !  *   This is a paths file for the standard CTAN and kpathsea Unix TeX 
  436. !  *   hierarchy for a NeXT and LaTeX2e.
  437.    */
  438.   /*
  439.    *   PKPATH is where to search for packed files, directories separated by
  440.    *   commas.  A period means the current directory (don't prepend anything.)
  441.    *   TFMPATH is the same for TFM files.
  442.    */
  443. ! #define TFMPATH         ".:/usr/local/lib/texmf/fonts/public/cm/tfm"
  444. ! #define PKPATH       ".:/usr/local/lib/texmf/fonts/public/cm/pk/nextscreen:/usr/local/lib/texmf/fonts/tmp/pk/nextscreen"
  445. ! #define VFPATH       ".:/usr/local/lib/texmf/fonts/public/cm/vf"
  446.   #define RESFONTSFILE "psfonts.map"
  447. ! #define CONFIGPATH   ".:/usr/local/lib/texmf/dvips"
  448. ! #define INPUTSPATH   ".:/usr/local/lib/texmf/tex/latex2e/base"
  449. diff -c -r -P texview.orig/pots.c texview/pots.c
  450. *** texview.orig/pots.c    Thu Dec  8 20:53:38 1994
  451. --- texview/pots.c    Thu Dec  8 20:52:13 1994
  452. ***************
  453. *** 29,35 ****
  454.   extern void reportnewdpi() ;
  455.   extern void TPSdefres() ;
  456.   extern int actualdpi ;
  457. ! extern int *existsize, existsize100[], existsize300[], existsize400[] ;
  458.   /*
  459.    *   functions we use
  460.    */
  461. --- 29,35 ----
  462.   extern void reportnewdpi() ;
  463.   extern void TPSdefres() ;
  464.   extern int actualdpi ;
  465. ! extern int *existsize, existsize100[] ;
  466.   /*
  467.    *   functions we use
  468.    */
  469. ***************
  470. *** 142,154 ****
  471.    *   If the dots per inch change, we call this to redo everything.
  472.    */
  473.   void newdpi() {
  474. !    if (screendpi == 300.0 || screendpi == 400.0) {
  475. !       actualdpi = screendpi ;
  476. !       existsize = ((screendpi == 300.0) ? existsize300 : existsize400) ;
  477. !    } else {
  478. !       actualdpi = 100 ;
  479. !       existsize = existsize100 ;
  480. !    }
  481.      recalculate() ;
  482.      TPSdefres((double)screendpi) ;
  483.      if (dvifile != NULL) {
  484. --- 142,149 ----
  485.    *   If the dots per inch change, we call this to redo everything.
  486.    */
  487.   void newdpi() {
  488. !    actualdpi = 100 ;
  489. !    existsize = existsize100 ;
  490.      recalculate() ;
  491.      TPSdefres((double)screendpi) ;
  492.      if (dvifile != NULL) {
  493. diff -c -r -P texview.orig/preview.c texview/preview.c
  494. *** texview.orig/preview.c    Thu Dec  8 20:53:39 1994
  495. --- texview/preview.c    Thu Dec  8 21:02:40 1994
  496. ***************
  497. *** 71,80 ****
  498.   int existsize100[] = { 0, 69, 76, 83, 91, 100, 110, 120,
  499.       131, 144, 158, 173, 189, 207, 227, 249, 273, 299, 327, 358, 393,
  500.       430, 471, 516, 565, 619, 678, 743, 814, 892, 977, 1070, 32767 } ;
  501. - int existsize300[] = { 0, 300, 329, 360, 432, 518, 622, 746, 896,
  502. -     1075, 1290, 1548, 32767 } ;
  503. - int existsize400[] = { 0, 400, 438, 480, 576, 691, 829, 995, 1194,
  504. -     1433, 1720, 2064, 32767 } ;
  505.   int *existsize = existsize100 ;
  506.   real userdpi[] = { 91.2871, 120.0000 } ;
  507.   int debugon = 0 ;
  508. --- 71,76 ----
  509.  
  510.